package com.xx.ch06.text.text01;

public class MonkeyText {
    private String monkey=null;
    private String person=null;

    public MonkeyText(String monkey, String person) {
        this.monkey = monkey;
        this.person = person;
    }

    public String getMonkey() {
        return monkey;
    }

    public void setMonkey(String monkey) {
        this.monkey = monkey;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }
    public void print(){
        System.out.println("路飞："+this.getMonkey());
        System.out.println("诸葛亮："+this.getPerson());
    }


}
